package com.samuel.basics.model;

import java.io.Serializable;

/**
 * <p>固定返回格式</p>
 *
 * @author aneng huang
 * @since 2020-11-30 14:25:53
 */
public class ResultVo implements Serializable {

    private static final long serialVersionUID = -8714094470172991822L;

    /** 错误码 */
    private int code;
    /** 提示信息 */
    private String message;
    /** 响应数据 */
    private Object data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }
}
